//
//  JYBaseStatics.h
//  kunlun
//
//  Created by zhusanbao on 2020/9/25.
//  Copyright © 2020 zhusanbao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JYBaseStatics : NSObject
/** systemFont pingfang default PingFangSC-Regular */
UIFont * _Nonnull S_font(CGFloat fontSize);
/** boldSystemFont  ping fang default PingFangSC-Semibold */
UIFont * _Nonnull S_bfont(CGFloat fontSize);
UIFont * _Nonnull U_sfont(CGFloat fontSize);

/** DINAlternate-Bold */
UIFont * _Nonnull jy_atbfont(CGFloat fontSize);
/** hex color create  */
UIColor * _Nonnull S_HexColor(NSString * _Nonnull cl);
/** 随机色  */
UIColor * _Nonnull jyRandomColor(void);
/** image object  */
UIImage * _Nullable S_imageNamed(NSString * _Nullable im);
/** image with render  */
UIImage * _Nullable jy_imageRenderNamed(NSString * _Nullable im,UIImageRenderingMode mode);
/** contentFile加载  */
UIImage * _Nullable jy_imageContentFile(NSString * _Nullable fp);


UIImage * _Nullable jy_imageRenderContentFile(NSString * _Nullable fp, UIImageRenderingMode mode);
/** 格式化时间  */
NSString * _Nullable jy_formatTimeFromDuration(long long duration);
/** 点赞量、观看量格式化  */
NSString * _Nullable jy_formatDigital(NSInteger d);

NSDictionary * _Nullable jy_app_Info(void);

@end
